﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for MemberAccount
/// </summary>
public class AccountMember
{
    public AccountMember()
    {
        //
        // TODO: Add constructor logic here
        //
    }

    private string _AccountID = String.Empty;
    public string AccountID
    {
        get { return _AccountID; }
        set { _AccountID = value; }
    }

    private string _Email = String.Empty;
    public string Email
    {
        get { return _Email; }
        set { _Email = value; }
    }

    private string _AccountName = String.Empty;
    public string AccountName
    {
        get { return _AccountName; }
        set { _AccountName = value; }
    }

    private string _FirstName = String.Empty;
    public string FirstName
    {
        get { return _FirstName; }
        set { _FirstName = value; }
    }

    private string _LastName = String.Empty;
    public string LastName
    {
        get { return _LastName; }
        set { _LastName = value; }
    }

    /// <summary>
    /// -1: Unknown
    ///  0: Male
    ///  1: Female
    /// </summary>
    private int _Gender = -1;
    public int Gender
    {
        get { return _Gender; }
        set { _Gender = value; }
    }

    enum GenderType
    {
        Unknow = -1,
        Male = 0,
        Female = 1
    }

    private string _BDay = String.Empty;
    public string BDay
    {
        get { return _BDay; }
        set { _BDay = value; }
    }

    private string _BMonth = String.Empty;
    public string BMonth
    {
        get { return _BMonth; }
        set { _BMonth = value; }
    }

    private string _BYear = String.Empty;
    public string BYear
    {
        get { return _BYear; }
        set { _BYear = value; }
    }

    private string _CreatedDate = DateTime.Now.ToString("dd/MM/yyyy");
    public string CreateDate
    {
        get { return _CreatedDate; }
        set { _CreatedDate = value; }
    }

    private string _ActivatedDate = DateTime.Now.ToString("dd/MM/yyyy");
    public string ActivatedDate
    {
        get { return _ActivatedDate; }
        set { _ActivatedDate = value; }
    }

    private string _DeactivatedDate = DateTime.Now.ToString("dd/MM/yyyy");
    public string DeactivatedDate
    {
        get { return _DeactivatedDate; }
        set { _DeactivatedDate = value; }
    }

    private string _ActivationCode = DateTime.Now.ToString("dd/MM/yyyy");
    public string ActivationCode
    {
        get { return _ActivationCode; }
        set { _ActivationCode = value; }
    }

    private string _Company = String.Empty;
    public string Company
    {
        get { return _Company; }
        set { _Company = value; }
    }

    private string _MobilePhone = String.Empty;
    public string MobilePhone
    {
        get { return _MobilePhone; }
        set { _MobilePhone = value; }
    }

    private string _OtherPhone = String.Empty;
    public string OtherPhone
    {
        get { return _OtherPhone; }
        set { _OtherPhone = value; }
    }

    private string _Address = String.Empty;
    public string Address
    {
        get { return _Address; }
        set { _Address = value; }
    }

    private string _Suburb = String.Empty;
    public string Suburb
    {
        get { return _Suburb; }
        set { _Suburb = value; }
    }

    private string _Postcode = String.Empty;
    public string Postcode
    {
        get { return _Postcode; }
        set { _Postcode = value; }
    }

    private string _State = String.Empty;
    public string State
    {
        get { return _State; }
        set { _State = value; }
    }

    private string _Country = String.Empty;
    public string Country
    {
        get { return _Country; }
        set { _Country = value; }
    }

    /// <summary>
    /// Status:
    ///    -1: Deleted
    ///     0: Deactivated (not activated or suspended)
    ///     1: Activated (in use)
    ///     2: Reset password (in use)
    ///     3: Migrated (not logged in)
    /// </summary>
    private int _Status = -1;
    public int Status
    {
        get { return _Status; }
        set { _Status = value; }
    }

    private string _AccountType = String.Empty;
    public string AccountType
    {
        get { return _AccountType; }
        set { _AccountType = value; }
    }
    
    
}
